﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepCultivation.Common.Domain.SheepBasicInformation
{
    /// <summary>
    /// 后裔信息表
    /// </summary>
    public class ProgenyFile
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int ProgenyFileId { get; set; }
        public int BreedingSheepArchiveId { get; set; }
        /// <summary>
        /// 后裔耳号
        /// </summary>
        public string ProgenyAuricle { get; set; }
        /// <summary>
        /// 电子耳标号
        /// </summary>
        public string ProgenyCorpuscleAuricle { get; set; }
        /// <summary>
        /// 父亲耳号
        /// </summary>
        public int DadBreedingSheepArchiveId { get; set; }
        /// <summary>
        /// 母亲耳号
        /// </summary>
        public int MomBreedingSheepArchiveId { get; set; }
        /// <summary>
        /// 品种id
        /// </summary>
        public int SheepbreedId { get; set; }
        /// <summary>
        /// 后裔性别(1-公2-母)
        /// </summary>
        public int ProgenySex { get; set; }
        /// <summary>
        /// 出生类型
        /// </summary>
        public int BirthStatusId { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime BirthDate { get; set; }
        /// <summary>
        /// 入场日期
        /// </summary>
        public DateTime EntranceDate { get; set; }
        /// <summary>
        /// 出生场地
        /// </summary>
        public string BirthAddreess { get; set; }
        /// <summary>
        /// 出生重
        /// </summary>
        public decimal BirthWeight { get; set; }
        /// <summary>
        /// 基因等级
        /// </summary>
        public int GeneLV { get; set; }
        /// <summary>
        /// 羊只分类
        /// </summary>
        public int SheepTypeId { get; set; } = 3;
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 栋舍Id
        /// </summary>
        public int BuildingId { get; set; }
        /// <summary>
        /// 栏位Id
        /// </summary>
        public int ColumnsId { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
